package com.secsbrain.cmdb.dal.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 服务器规格表
 *
 */
@TableName(value = "cmdb_bare_template")
public class BareTemplate implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 规格名称 */
	private String name;

	/** 服务器型号 */
	private String productname;

	/** CPU型号，如Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz */
	@TableField(value = "cpu_model")
	private String cpuModel;

	/** CPU核数 */
	@TableField(value = "num_cpus")
	private Integer numCpus;

	/** CPU颗数 */
	@TableField(value = "cpu_grain_num")
	private Integer cpuGrainNum;

	/** CPU插槽数 */
	@TableField(value = "cpu_slot_num")
	private Integer cpuSlotNum;

	/** 内存型号 */
	@TableField(value = "mem_model")
	private String memModel;

	/** 内存大小，如7969 */
	@TableField(value = "mem_total")
	private Integer memTotal;

	/** 内存数量 */
	@TableField(value = "mem_num")
	private Integer memNum;

	/** 内存插槽数 */
	@TableField(value = "mem_slot_num")
	private Integer memSlotNum;

	/** 硬盘大小 */
	@TableField(value = "disk_capacity")
	private Integer diskCapacity;

	/** 硬盘型号 */
	@TableField(value = "disk_model")
	private String diskModel;

	/** 硬盘数量 */
	@TableField(value = "disk_num")
	private Integer diskNum;

	/** 硬盘插槽数 */
	@TableField(value = "disk_slot_num")
	private Integer diskSlotNum;

	/** 电源型号 */
	@TableField(value = "power_model")
	private String powerModel;

	/** 电源数量 */
	@TableField(value = "power_num")
	private Integer powerNum;

	/** 电源插槽数 */
	@TableField(value = "power_slot_num")
	private Integer powerSlotNum;

	/** 网口数量 */
	@TableField(value = "net_num")
	private Integer netNum;

	/** 网口已用数量 */
	@TableField(value = "net_use_num")
	private Integer netUseNum;

	/** 操作系统，如Deepin */
	private String os;

	/** 操作系统版本，如('15.4.1',) */
	private String osrelease;

	/** RAID信息 */
	@TableField(value = "raid_info")
	private String raidInfo;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;

	/** 更新时间 */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 创建人 */
	private String creator;

	/** 更新人 */
	private String updator;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getProductname() {
		return this.productname;
	}

	public void setProductname(String productname) {
		this.productname = productname;
	}

	public String getCpuModel() {
		return this.cpuModel;
	}

	public void setCpuModel(String cpuModel) {
		this.cpuModel = cpuModel;
	}

	public Integer getNumCpus() {
		return this.numCpus;
	}

	public void setNumCpus(Integer numCpus) {
		this.numCpus = numCpus;
	}

	public Integer getCpuGrainNum() {
		return this.cpuGrainNum;
	}

	public void setCpuGrainNum(Integer cpuGrainNum) {
		this.cpuGrainNum = cpuGrainNum;
	}

	public Integer getCpuSlotNum() {
		return this.cpuSlotNum;
	}

	public void setCpuSlotNum(Integer cpuSlotNum) {
		this.cpuSlotNum = cpuSlotNum;
	}

	public String getMemModel() {
		return this.memModel;
	}

	public void setMemModel(String memModel) {
		this.memModel = memModel;
	}

	public Integer getMemTotal() {
		return this.memTotal;
	}

	public void setMemTotal(Integer memTotal) {
		this.memTotal = memTotal;
	}

	public Integer getMemNum() {
		return this.memNum;
	}

	public void setMemNum(Integer memNum) {
		this.memNum = memNum;
	}

	public Integer getMemSlotNum() {
		return this.memSlotNum;
	}

	public void setMemSlotNum(Integer memSlotNum) {
		this.memSlotNum = memSlotNum;
	}

	public Integer getDiskCapacity() {
		return this.diskCapacity;
	}

	public void setDiskCapacity(Integer diskCapacity) {
		this.diskCapacity = diskCapacity;
	}

	public String getDiskModel() {
		return this.diskModel;
	}

	public void setDiskModel(String diskModel) {
		this.diskModel = diskModel;
	}

	public Integer getDiskNum() {
		return this.diskNum;
	}

	public void setDiskNum(Integer diskNum) {
		this.diskNum = diskNum;
	}

	public Integer getDiskSlotNum() {
		return this.diskSlotNum;
	}

	public void setDiskSlotNum(Integer diskSlotNum) {
		this.diskSlotNum = diskSlotNum;
	}

	public String getPowerModel() {
		return this.powerModel;
	}

	public void setPowerModel(String powerModel) {
		this.powerModel = powerModel;
	}

	public Integer getPowerNum() {
		return this.powerNum;
	}

	public void setPowerNum(Integer powerNum) {
		this.powerNum = powerNum;
	}

	public Integer getPowerSlotNum() {
		return this.powerSlotNum;
	}

	public void setPowerSlotNum(Integer powerSlotNum) {
		this.powerSlotNum = powerSlotNum;
	}

	public Integer getNetNum() {
		return this.netNum;
	}

	public void setNetNum(Integer netNum) {
		this.netNum = netNum;
	}

	public Integer getNetUseNum() {
		return this.netUseNum;
	}

	public void setNetUseNum(Integer netUseNum) {
		this.netUseNum = netUseNum;
	}

	public String getOs() {
		return this.os;
	}

	public void setOs(String os) {
		this.os = os;
	}

	public String getOsrelease() {
		return this.osrelease;
	}

	public void setOsrelease(String osrelease) {
		this.osrelease = osrelease;
	}

	public String getRaidInfo() {
		return this.raidInfo;
	}

	public void setRaidInfo(String raidInfo) {
		this.raidInfo = raidInfo;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getUpdator() {
		return this.updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

}
